package com.markerhub.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 巡检记录实体类
 */
@Data
@TableName("inspection_record")
public class InspectionRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 任务ID
     */
    private Long taskId;

    /**
     * 设备ID
     */
    private Long deviceId;

    /**
     * 巡检人ID
     */
    private Long inspectorId;

    /**
     * 巡检时间
     */
    private Date inspectionTime;

    /**
     * 巡检结果(1:正常,2:异常)
     */
    private Integer status;

    /**
     * 巡检备注
     */
    private String remarks;

    /**
     * 审核状态(1:待审核,2:已通过,3:已驳回)
     */
    private Integer auditStatus;

    /**
     * 审核备注
     */
    private String auditRemarks;

    /**
     * 审核人ID
     */
    private Long auditUserId;

    /**
     * 审核时间
     */
    private Date auditTime;

    /**
     * 创建时间
     */
    private Date created;

    /**
     * 更新时间
     */
    private Date updated;


}